Move page not just for sysops in bottomLinks()
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 22 Jul 2003 11:14:29 +0000 (11:14 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 22 Jul 2003 11:14:29 +0000 (11:14 +0000)
includes/Skin.php

index 9164caa..c1e51d5 100644 (file)
@@ -514,7 +514,8 @@ class Skin {
                if ( $wgOut->isArticle() ) {
                        $s .= "<strong>" . $this->editThisPage() . "</strong>";
                        if ( 0 != $wgUser->getID() ) {
-                               $s .= $sep . $this->watchThisPage();
+                               $s .= $sep . $this->watchThisPage() .
+                                       $sep . $this->moveThisPage();
                        }
                        $s .= $sep . $this->talkLink()
                          . $sep . $this->historyLink()
@@ -539,8 +540,7 @@ class Skin {
                        }
                        if ( $wgUser->isSysop() && $wgTitle->getArticleId() ) {
                                $s .= "\n<br>" . $this->deleteThisPage() .
-                               $sep . $this->protectThisPage() .
-                               $sep . $this->moveThisPage();
+                               $sep . $this->protectThisPage();
                        }
                        $s .= "<br>\n" . $this->otherLanguages();
                }